package com.wyh.feign.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DefaultFeignConfiguration {
    @Bean
    public ProductFallbackFactory productFallbackFactory(){
        return new ProductFallbackFactory();
    }
}
